<html>
<head>
	<meta charset="UTF-8">
	<title>服务编排表格详情</title>
	<link id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
	<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
	<script src="../../ffres/dict/all.js" type="text/javascript"></script>
	<link href="../../static/easyui/themes/frameless.css" rel="stylesheet" type="text/css"/>
	<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">服务编排表格信息</div>
	    	<table class="esaas-info-view-table">
			<tr>
				<td width="15%" align="right">表格行标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="tableRowId" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">表格行号：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="tableRowNo" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">应用模型标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="appModelId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">编排操作：</td>
				<td width="35%"><select class="easyui-combobox"
					id="rowOpType" name="rowOpType"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:ROW_OP_TYPE">
				</select></td>
			</tr>
			<tr>
				<td width="15%" align="right">编排目标标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="rowOpTargetId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">编排目标名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="rowOpTargetName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">分支判断条件：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="rowBranchCondition" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">分支编排操作：</td>
				<td width="35%"><select class="easyui-combobox"
					id="rowBranchOpType" name="rowBranchOpType"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:ROW_OP_TYPE">
				</select></td>
			</tr>
			<tr>
				<td width="15%" align="right">分支编排目标标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="rowBranchTargetId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">分支编排目标名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="rowBranchTargetName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>	
		$(function() {
			var tableRowId = $.getUrlParam('tableRowId');
			$.restfulGet('../../api/osrv/arrange/table/' + tableRowId,null,function(data){
					$('#ff').form('load', {
						tableRowId : data.rows.tableRowId,
						tableRowNo : data.rows.tableRowNo,
						appModelId : data.rows.appModelId,
						rowOpType : data.rows.rowOpType,
						rowOpTargetId : data.rows.rowOpTargetId,
						rowOpTargetName : data.rows.rowOpTargetName,
						rowBranchCondition : data.rows.rowBranchCondition,
						rowBranchOpType : data.rows.rowBranchOpType,
						rowBranchTargetId : data.rows.rowBranchTargetId,
						rowBranchTargetName : data.rows.rowBranchTargetName
					});					
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
